package behaviorType.memento;

/**
 * @描述：备忘信息
 * @作者：hongxingfan
 * @时间：2014年9月4日 上午9:54:42
 */
public class Memento {
    private String userName;
    private int age;

    public Memento(String userName, int age) {
        this.userName = userName;
        this.age = age;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}